package com.panda.web.mapper.aims;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panda.web.entity.aims.Questions;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface QuestionsMapper extends BaseMapper<Questions> {
    @Select("select count(*) from questions where type =#{type}")
    Integer findByType(String type);
}
